package com.biscuit.page.basicservice.api.model.request.common;

import com.biscuit.common.base.BaseAMO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author mazihao
 * @createTime 2024/4/18 14:45
 */
@Data
public class VerificationCodeSendCommonAReq extends BaseAMO {

    @Min(value = 1, message = "验证码类型不能为空")
    @ApiModelProperty("验证码类型")
    private Integer type;

    @NotBlank(message = "发送目标不能为空")
    @ApiModelProperty("号码（手机号、邮箱等）")
    private String number;

}
